package com.assessment.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.assessment.entity.ComplaintRecord;

public interface IComplaintRecordService 
{
	public void saveOrUpdate(ComplaintRecord complaintRecord);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public ComplaintRecord findOne(Long id);
	public List<ComplaintRecord> findAll();
	//动态条件查询
	public Page<ComplaintRecord> findAll(Specification<ComplaintRecord> spec, Pageable pageable);

}
